/**
	License:		Artistic license 2.0 (see license.txt, also available online at http://www.perlfoundation.org/artistic_license_2_0)
	Authors:		OrbitalLab (http://www.orbitallab.ru/moonglide/), 2007-2009

	File:			IRendererOS.d
	Description:	interface for os-dependent renderer stuff
	Date:			11.04.2008 by Digited
*/
module moonglide.renderer.IRendererOS;

public import
	moonglide.os.IOS,
	moonglide.math.MoonMath;

//===============================================================
/// Interface with os-dependent code for Renderer
//===============================================================
interface IRendererOS
{
	bool initialize( char[] windowName, inout Size2ui windowSize, ubyte bpp, ubyte refreshFreq,
			bool fullscreen, bool vsync, bool antialiasing, bool stencil );

	bool deInitialize();
	bool presentFrame();

	void printPlatformText( char[] line, Vector2f position, Color4f color );
}
